<%--
  Created by IntelliJ IDEA.
  User: xiaoji
  Date: 2014/10/31
  Time: 16:21
  To change this template use File | Settings | File Templates.
--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="spring" uri="/WEB-INF/lib/spring.tld"%>
<c:set value="${pageContext.request.contextPath}" var="path" scope="page"/>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<html>
<head>
    <title><spring:message code='artistIndex.title.msg' /></title>
    <link href="${path}/style/acg/css/style.css" rel="stylesheet" type="text/css" />
    <script src="${path}/js/jquery.min.js" type="text/javascript"></script>
    <style type="text/css">

    </style>
</head>
<body>
<jsp:include page="../public/header.jsp"></jsp:include>
<!--content-->
<div id="container">
<div class="wrapper">
<div class="newartbox">
    <div class="Artist_tit"><spring:message code='artistIndex.message.msg1' /></div>
    <div class="newart_list">
        <ul class="clearfix">
            <c:forEach var="n" items="${news}" varStatus="k">
            <li ${(k.index+1)%7==0?'class="nomr"':''}>
                <a href="${path }/artistPersonalHome/artistPersonalHome.html?receiver=${n.artistId }">
                    <img src="${path}/${n.headPortrait }" width="160" height="160">
                    <div class="intro">
                        <h3>${n.nickname==null?n.userName:n.nickname }</h3>
                        <p class="zw">${n.artistLevel }</p>
                        <p><spring:message code='artistIndex.message.msg2' /> ${n.levelname }<br><spring:message code='artistIndex.message.msg3' /> ${n.countNum }<spring:message code='artistIndex.message.msg4' /><br><spring:message code='artistIndex.message.msg5' />
                            <c:choose>
                            <c:when test="${n.totalPrice==null||n.totalPrice=='0.0000'}" >
                                0
                            </c:when>
                            <c:otherwise>
                                <f:formatNumber value="${n.totalPrice}" pattern="#,#0.00"/>
                            </c:otherwise>
                            </c:choose>
                            <spring:message code='artistIndex.message.msg6' /></p>
                    </div>
                </a>
            </li>
            </c:forEach>
        </ul>
    </div>
</div>
<div class="SellWorks">
    <div class="Artist_tit"><spring:message code='artistIndex.message.msg7' /></div>
    <div class="SellWorks_list">
        <ul class="clearfix">
            <c:forEach var="p" items="${pros}" varStatus="k">
            <li ${(k.index+1)%4==0?'class="nomr"':''}>
                <a href="${path}/artistPersonalHome/browseProduction.html?production_id=${p.worksId }"><img src="${path}/${p.showUrl }" width="292" height="180"></a>
                <div class="txt">
                    <h3><a href="${path}/artistPersonalHome/browseProduction.html?production_id=${p.worksId }">${p.worksName }</a></h3>
                    <p><span class="price">￥<f:formatNumber value="${p.price }" pattern="#,#00.00#"/></span><span class="more"><a href="${path}/artistPersonalHome/browseProduction.html?production_id=${p.worksId }"><spring:message code='artistIndex.message.msg8' /></a></span></p>
                </div>
            </li>
            </c:forEach>
        </ul>
    </div>
</div>
<div class="wrapper">
    <div class="Artists_pepole">
        <div class="Artist_tit"><span>
            <%--<a href="javascript:void(0);" class="more"><spring:message code='artistIndex.message.msg9' /></a>--%>
        </span><spring:message code='artistIndex.message.msg10' /></div>
        <div class="Artists_pepolelist">
            <ul>
                <c:forEach var="f" items="${famous}" varStatus="k">
                <li class="${k.index==0?"first":""} clearfix">
                    <div class="aimg"><img src="${path}/${f.headPortrait }" width="70" height="70"></div>
                    <div class="acon">
                        <h3><a href="${path }/artistPersonalHome/artistPersonalHome.html?receiver=${f.artistId }">${f.nickname==null?f.userName:f.nickname }</a></h3>
                        <p>${f.artistLevel }<br><spring:message code='artistIndex.message.msg2' /> ${f.levelname }</p>
                    </div>
                    <div class="alx"><a href="${path }/usercenter/toUserMessagesHome.html?sender=${f.artistId }" class="deltail_lxwm"><em class="icon"><spring:message code='artistIndex.message.msg14' /></em></a></div>
                </li>
                </c:forEach>
            </ul>
        </div>
    </div>
    <div class="Artists_pepole">
        <div class="Artist_tit"><span>
            <%--<a href="" class="more"><spring:message code='artistIndex.message.msg9' /></a>--%>
        </span><spring:message code='artistIndex.message.msg12' /></div>
        <div class="Artists_pepolelist">
            <ul>
                <c:forEach var="n" items="${hots}" varStatus="k">
                <li class="${k.index==0?"first":""} clearfix">
                    <div class="aimg"><img src="${path}/${n.headPortrait }" width="70" height="70"></div>
                    <div class="acon">
                        <h3><a href="${path }/artistPersonalHome/artistPersonalHome.html?receiver=${n.artistId }">${n.nickname==null?n.userName:n.nickname }</a></h3>
                        <p>${n.artistLevel }<br><spring:message code='artistIndex.message.msg13' />${n.countNum }</p>
                    </div>
                    <div class="alx"><a href="${path }/usercenter/toUserMessagesHome.html?sender=${n.artistId }" class="deltail_lxwm"><em class="icon"><spring:message code='artistIndex.message.msg14' /></em></a></div>
                </li>
                </c:forEach>
            </ul>
        </div>
    </div>
    <div class="Artists_pepole last">
        <div class="Artist_tit"><span>
            <%--<a href="" class="more"><spring:message code='artistIndex.message.msg9' /></a>--%>
        </span><spring:message code='artistIndex.message.msg15' /></div>
        <div class="Artists_pepolelist">
            <ul>
                <c:forEach var="n" items="${incomes}" varStatus="k">
                <li class="${k.index==0?"first":""} clearfix">
                    <div class="aimg"><img src="${path}/${n.headPortrait }" width="70" height="70"></div>
                    <div class="acon">
                        <h3><a href="${path }/artistPersonalHome/artistPersonalHome.html?receiver=${n.artistId }">${n.nickname==null?n.userName:n.nickname }</a></h3>
                        <p>${n.artistLevel }<br><spring:message code='artistIndex.message.msg5' /> ${n.totalPrice }<spring:message code='artistIndex.message.msg6' /></p>
                    </div>
                    <div class="alx"><a href="${path }/usercenter/toUserMessagesHome.html?sender=${n.artistId }" class="deltail_lxwm"><em class="icon"><spring:message code='artistIndex.message.msg14' /></em></a></div>
                </li>
                </c:forEach>
            </ul>
        </div>
    </div>
    <div class="clr"></div>
</div>
</div>
</div>
<!--content-->
<jsp:include page="../public/footer.jsp"></jsp:include>
</body>
</html>
